package de.home.db.model;

import java.util.List;

public class Floor {

   private int        id;
   private String     name;
   private List<Room> rooms;

   public Floor(int id, String name, List<Room> rooms) {
      this.id = id;
      this.name = name;
      this.rooms = rooms;
   }

   public int getId() {
      return id;
   }

   public String getName() {
      return name;
   }

   public List<Room> getRooms() {
      return rooms;
   }

   @Override
   public String toString() {
      return "ID = " + id + " Name = " + name;
   }

}
